package com.frank.stock4j.tusharepro.bean;

import com.frank.stock4j.tusharepro.BaseBean;
import com.frank.stock4j.tusharepro.http.BaseRequestParam;

/**
* 描述：Shibor报价数据
* @author: codesmith
**/
public interface ShiborQuoteBean extends BaseBean {
    String API_NAME = "shibor_quote";
    
    interface Fields {
    String date = "date";    //日期
    String bank = "bank";    //报价银行
    String on_b = "on_b";    //隔夜_Bid
    String on_a = "on_a";    //隔夜_Ask
    String w_b1 = "1w_b";    //1周_Bid
    String w_a1 = "1w_a";    //1周_Ask
    String w_b2 = "2w_b";    //2周_Bid
    String w_a2 = "2w_a";    //2周_Ask
    String m_b1 = "1m_b";    //1月_Bid
    String m_a1 = "1m_a";    //1月_Ask
    String m_b3 = "3m_b";    //3月_Bid
    String m_a3 = "3m_a";    //3月_Ask
    String m_b6 = "6m_b";    //6月_Bid
    String m_a6 = "6m_a";    //6月_Ask
    String m_b9 = "9m_b";    //9月_Bid
    String m_a9 = "9m_a";    //9月_Ask
    String y_b1 = "1y_b";    //1年_Bid
    String y_a1 = "1y_a";    //1年_Ask
    }
    
    interface Params {
        date date = new date();
        /*
        * 日期 (日期输入格式：YYYYMMDD，下同)
        */
        class date extends BaseRequestParam {
            { key = "date"; }
        }
        start_date start_date = new start_date();
        /*
        * 开始日期
        */
        class start_date extends BaseRequestParam {
            { key = "start_date"; }
        }
        end_date end_date = new end_date();
        /*
        * 结束日期
        */
        class end_date extends BaseRequestParam {
            { key = "end_date"; }
        }
        bank bank = new bank();
        /*
        * 银行名称 （中文名称，例如 农业银行）
        */
        class bank extends BaseRequestParam {
            { key = "bank"; }
        }
    }
}